package com.xh.bussiness.tiku.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xh.bussiness.tiku.bean.dto.KnowledgeNodeRelationDto;
import com.xh.bussiness.tiku.bean.request.KnowledgeRequest;
import com.xh.bussiness.tiku.model.KnowledgeNodeRelation;
import com.xh.bussiness.tiku.dao.KnowledgeNodeRelationMapper;
import com.xh.bussiness.tiku.service.IKnowledgeNodeRelationService;
import com.xh.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.xh.core.bean.XhPage;

import java.util.List;

/**
 * <p>
 * 知识点节点关联表 服务实现类
 * </p>
 *
 * @author daiwei
 * @since 2019-01-14
 */
@Service
public class KnowledgeNodeRelationServiceImpl extends BaseServiceImpl<KnowledgeNodeRelationMapper, KnowledgeNodeRelation> implements IKnowledgeNodeRelationService {
    @Override
    public XhPage queryKnowledgeNodeRelationPage(XhPage page, KnowledgeRequest bean) {
        return this.dao.selectKnowledgeNodeRelation(page,bean);
    }

    @Override
    public List queryKnowledgeNodeRelation(KnowledgeRequest bean) {
        return this.dao.selectKnowledgeNodeRelation(bean);
    }


}
